package org.example.minebackend.service.impl;

import org.example.minebackend.mapper.PassageDataMapper;
import org.example.minebackend.pojo.Passage;
import org.example.minebackend.service.PassageDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PassageDataServiceImpl implements PassageDataService {
    @Autowired
    PassageDataMapper passageDataMapper;
    @Override
    public List<Passage> getPassageData(String kind) {
        List<Passage> result = passageDataMapper.getPassageData(kind);
        return result;
    }
}
